﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.Common;
using W.Common.Enum;

namespace W.Purchase.Domain
{
    /// <summary>
    /// 供应商表
    /// </summary>
    public class Vendor:BaseModel
    {
        /// <summary>
        /// 供应商ID
        /// </summary>
        [Key]
        public int VendorId { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string? VendorNo { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? VendorName { get; set; }
        /// <summary>
        /// 供应商状态
        /// </summary>
        public EquipmentState?  VendorState { get; set; }
        /// <summary>
        /// 供应商类型
        /// </summary>
        public int? VendorTypeId { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string? VendorPhone {  get; set; }
        /// <summary>
        /// 传真
        /// </summary>
        public string? VendorFax { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string? VendorEmail { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string? VendorContact { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? VendorAddress { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string? VendorDesc { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? VendorRemarks { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? user_id {  get; set; }
    }
}
